$(document).ready(function(){

	var hiddenBlock = $('.language-choice, .ul-lang li:not(.activate)');
	var notActivate = $('.ul-lang li:not(.activate)');
	
	$('.activate').prependTo($('.ul-lang'));
	notActivate.addClass('hidden');
	
	$('.language').hover(function() {
		$('.country').addClass('country-hover');
		$('.activate').addClass('active');
		$('.arrow-down').addClass('arrow-up');
		hiddenBlock.stop().slideToggle('fast', function() {});
	},function() {
		hiddenBlock.stop().slideToggle('fast', function() {
			$('.country').removeClass('country-hover');
			$('.activate').removeClass('active');
			$('.arrow-down').removeClass('arrow-up');
		});
	});
});